<?php

namespace App\Api\Controllers;

use App\Api\Dao\CarouseDao;
use Illuminate\Http\Request;

class CarouseController extends BaseController
{
    /**
     * 获取轮播图列表
     * @return \Illuminate\Http\JsonResponse
     */
    public function getCarouse(Request $request,CarouseDao $carouseDao){
        $params = $request->all();
        $data = $carouseDao->getCarouse($params);
        return $this->success($data);
    }
}
